Skip to content

Cron workflows docs updates#31092

Open
mia303 wants to merge 2 commits into
productionfrom
workflows/cron-workflows
Open

Cron workflows docs updates#31092
mia303 wants to merge 2 commits into
productionfrom
workflows/cron-workflows

Conversation

@mia303
Copy link
Copy Markdown
Contributor

@mia303 mia303 commented May 27, 2026

Summary

Adding documentation & changelog for cron workflows

Documentation checklist

@github-actions
Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/product-owners
/src/content/docs/learning-paths/ @cloudflare/product-owners
/src/content/docs/workers/ @cloudflare/workers-docs, @GregBrimble, @irvinebroque, @mikenomitch, @korinne, @WalshyDev, @cloudflare/deploy-config, @cloudflare/product-owners, @cloudflare/wrangler, @MattieTK, @cloudflare/dev-plat-leads
/src/content/docs/workers/wrangler/ @cloudflare/wrangler, @irvinebroque, @cloudflare/product-owners, @MattieTK
/src/content/docs/workflows/ @elithrar, @celso, @mia303, @jonesphillip, @cloudflare/product-owners

Comment thread src/content/docs/learning-paths/workflows-course/series/workflows-3.mdx Outdated
Comment thread src/content/docs/learning-paths/workflows-course/series/workflows-3.mdx Outdated
@ask-bonk ask-bonk Bot added the documentation Documentation edits label May 27, 2026
Copy link
Copy Markdown
Contributor

@ask-bonk ask-bonk Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues need attention before merge.

Comment thread src/content/changelog/workflows/2026-05-13-cron-workflows.mdx Outdated
Comment thread src/content/changelog/workflows/2026-05-13-cron-workflows.mdx Outdated
Comment thread src/content/docs/workflows/build/trigger-workflows.mdx Outdated
@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk Bot commented May 27, 2026

Added documentation label and posted a review on PR #31092.

Summary of changes: The PR adds docs and a changelog for scheduling Workflow instances directly via schedules on the Workflow binding in wrangler.jsonc, removing the need for a separate Cron Trigger and scheduled handler. It updates 7 files: a new changelog entry, the trigger workflows concept page, the get-started guide, the Wrangler configuration reference, a learning path episode, the Cron Triggers concept page, and the D1 backup example.

Issues flagged:

  • MEDIUMsrc/content/changelog/workflows/2026-05-13-cron-workflows.mdx:33: Incomplete sentence (For more information, refer to .). Suggested adding a link to /workflows/build/trigger-workflows/.
  • LOWsrc/content/changelog/workflows/2026-05-13-cron-workflows.mdx:7: Date format uses 2026-05-13 12:00:00 UTC; repo convention is YYYY-MM-DD. Suggested trimming to 2026-05-13.
  • HIGH (needs verification)src/content/docs/workflows/build/trigger-workflows.mdx:182: Changed resume() behavior description from "no effect" to "will throw an error". Flagged for a technical reviewer to confirm this is the current API behavior.

github run

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

Preview URL: https://75c70fc5.preview.developers.cloudflare.com
Preview Branch URL: https://workflows-cron-workflows.preview.developers.cloudflare.com

Files with changes (up to 15)

Original Link Updated Link
https://developers.cloudflare.com/workflows/examples/backup-d1/ https://workflows-cron-workflows.preview.developers.cloudflare.com/workflows/examples/backup-d1/
https://developers.cloudflare.com/workflows/build/trigger-workflows/ https://workflows-cron-workflows.preview.developers.cloudflare.com/workflows/build/trigger-workflows/
https://developers.cloudflare.com/learning-paths/workflows-course/series/workflows-3/ https://workflows-cron-workflows.preview.developers.cloudflare.com/learning-paths/workflows-course/series/workflows-3/
https://developers.cloudflare.com/changelog/post/2026-05-13-cron-workflows/ https://workflows-cron-workflows.preview.developers.cloudflare.com/changelog/post/2026-05-13-cron-workflows/
https://developers.cloudflare.com/workflows/get-started/guide/ https://workflows-cron-workflows.preview.developers.cloudflare.com/workflows/get-started/guide/
https://developers.cloudflare.com/workflows/reference/limits/ https://workflows-cron-workflows.preview.developers.cloudflare.com/workflows/reference/limits/
https://developers.cloudflare.com/workers/wrangler/configuration/ https://workflows-cron-workflows.preview.developers.cloudflare.com/workers/wrangler/configuration/
https://developers.cloudflare.com/workers/configuration/cron-triggers/ https://workflows-cron-workflows.preview.developers.cloudflare.com/workers/configuration/cron-triggers/

@mia303 mia303 force-pushed the workflows/cron-workflows branch from dcefb71 to fe3f676 Compare May 27, 2026 19:48
@korinne korinne marked this pull request as ready for review May 28, 2026 05:50
@cloudflare-docs-bot
Copy link
Copy Markdown

cloudflare-docs-bot Bot commented May 28, 2026

Review

⚠️ 3 warnings found in commit 75c70fc.

Warnings (3)
File Issue
workflows/build/trigger-workflows.mdx line 75 WranglerConfig input must be TOML<WranglerConfig> contains a ```jsonc block instead of TOML Fix: Provide TOML inside <WranglerConfig>; JSON is auto-generated by the component.
workflows/get-started/guide.mdx line 179 WranglerConfig input format<WranglerConfig> contains a ```jsonc fence with JSON content instead of TOML Fix: Provide TOML inside <WranglerConfig> — JSON is auto-generated by the component
workflows/examples/backup-d1.mdx line 133 WranglerConfig expects TOML input; JSON is auto-generated — Added JSON configuration lines inside <WranglerConfig> Fix: Rewrite the configuration block as TOML inside <WranglerConfig> instead of JSON
Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.

Copy link
Copy Markdown
Contributor

@korinne korinne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation edits product:changelog product:learning-paths product:workers Related to Workers product product:workflows Workflows: https://developers.cloudflare.com/workflows/ size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants